package com.qianhui.orderapi.haiguan;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(name = "ResponseHead", propOrder = {"senderID", "messageID", "messageType", "returnDate", "oldMessageId", "attachedFlag"})
public class ResponseHead
{
    private String SenderID;
    private String MessageID;
    private String MessageType;
    private String ReturnDate;
    private String OldMessageId;
    private String AttachedFlag;

    public ResponseHead()
    {
        super();
    }

    public ResponseHead(String senderID, String messageID, String messageType, String returnDate, String oldMessageId, String attachedFlag)
    {
        super();
        SenderID = senderID;
        MessageID = messageID;
        MessageType = messageType;
        ReturnDate = returnDate;
        OldMessageId = oldMessageId;
        AttachedFlag = attachedFlag;
    }

    @XmlElement(name = "SenderID")
    public String getSenderID()
    {
        return SenderID;
    }

    public void setSenderID(String senderID)
    {
        SenderID = senderID;
    }

    @XmlElement(name = "MessageID")
    public String getMessageID()
    {
        return MessageID;
    }

    public void setMessageID(String messageID)
    {
        MessageID = messageID;
    }

    @XmlElement(name = "MessageType")
    public String getMessageType()
    {
        return MessageType;
    }

    public void setMessageType(String messageType)
    {
        MessageType = messageType;
    }

    @XmlElement(name = "ReturnDate")
    public String getReturnDate()
    {
        return ReturnDate;
    }

    public void setReturnDate(String returnDate)
    {
        ReturnDate = returnDate;
    }

    @XmlElement(name = "OldMessageId")
    public String getOldMessageId()
    {
        return OldMessageId;
    }

    public void setOldMessageId(String oldMessageId)
    {
        OldMessageId = oldMessageId;
    }

    @XmlElement(name = "AttachedFlag")
    public String getAttachedFlag()
    {
        return AttachedFlag;
    }

    public void setAttachedFlag(String attachedFlag)
    {
        AttachedFlag = attachedFlag;
    }

    @Override
    public String toString()
    {
        return "ResponseHead [SenderID=" + SenderID + ", MessageID=" + MessageID + ", MessageType=" + MessageType + ", ReturnDate=" + ReturnDate + ", OldMessageId=" + OldMessageId + ", AttachedFlag=" + AttachedFlag + "]";
    }

}
